package com.situ.day10;

import java.awt.datatransfer.StringSelection;

import org.junit.Test;

public class MyThread2 extends Thread{
	public String name;
	public MyThread2(String name) {
		this.name = name;
	}
	@Override
	public void run() {
		for (int i = 0; i <= 100; i++) {
			if (i % 2 != 0) {
				System.out.println(name+"==>"+i+"是奇数");
			}
		}
	}
	
}
